#ifndef DICT_H_
#define DICT_H_

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

// M3 NXP
#define GPIO		"GPIO"		// uc GPIO
#define GPIO_PORTS	4
#define TIMER		"TIMER"		// uc TIMER
#define TIMER_PORTS	4
#define UART0		"UART0"		// uC UARTx
#define UART1		"UART1"
#define UART2		"UART2"
#define UART3		"UART3"
#define I2C			"I2C"		// uC I2Cx
#define	I2C_PORTS	3
#define SPI			"SPI"		// uC SPIx
#define SPI_PORTS	0
#define PWM			"PWM"		// uC PWMx
#define PWM_PORTS	6


void dict(const char *mot);
int gpio(const char *mot);
int uart(const char *mot, const char *uartx);

#endif /* DICT_H_ */
